Home
last modified time | relevance | path

Searched refs:Encrypt (Results 1 – 25 of 35) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_block_cipher.data4 AES-128-ECB Encrypt NIST KAT #1
8 AES-128-ECB Encrypt NIST KAT #2
12 AES-128-ECB Encrypt NIST KAT #3
16 AES-128-ECB Encrypt NIST KAT #4
20 AES-128-ECB Encrypt NIST KAT #5
24 AES-128-ECB Encrypt NIST KAT #6
28 AES-128-ECB Encrypt NIST KAT #7
32 AES-128-ECB Encrypt NIST KAT #8
36 AES-128-ECB Encrypt NIST KAT #9
40 AES-128-ECB Encrypt NIST KAT #10
[all …]
Dtest_suite_cipher.camellia.data9 CAMELLIA Encrypt and decrypt 0 bytes [#1]
13 CAMELLIA Encrypt and decrypt 1 byte [#1]
17 CAMELLIA Encrypt and decrypt 2 bytes [#1]
21 CAMELLIA Encrypt and decrypt 7 bytes [#1]
25 CAMELLIA Encrypt and decrypt 8 bytes [#1]
29 CAMELLIA Encrypt and decrypt 9 bytes [#1]
33 CAMELLIA Encrypt and decrypt 15 bytes [#1]
37 CAMELLIA Encrypt and decrypt 16 bytes [#1]
41 CAMELLIA Encrypt and decrypt 17 bytes [#1]
45 CAMELLIA Encrypt and decrypt 31 bytes [#1]
[all …]
Dtest_suite_camellia.data4 Camellia-128-ECB Encrypt RFC3713 #1
7 Camellia-192-ECB Encrypt RFC3713 #1
10 Camellia-256-ECB Encrypt RFC3713 #1
13 Camellia-128-ECB Encrypt Perl EVP #1 [#1]
16 Camellia-192-ECB Encrypt Perl EVP #1 [#1]
19 Camellia-256-ECB Encrypt Perl EVP #1 [#1]
22 Camellia-128-ECB Encrypt Perl EVP #1 [#2]
25 Camellia-128-ECB Encrypt Perl EVP #2
28 Camellia-128-ECB Encrypt Perl EVP #3
31 Camellia-128-ECB Encrypt Perl EVP #4
[all …]
Dtest_suite_cipher.aria.data5 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 0 bytes
9 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 1 byte
13 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 2 bytes
17 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 7 bytes
21 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 8 bytes
25 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 9 bytes
29 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 15 bytes
33 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 16 bytes
37 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 17 bytes
41 ARIA-128 CCM*-NO-TAG - Encrypt and decrypt 31 bytes
[all …]
Dtest_suite_cipher.des.data13 DES Encrypt and decrypt 0 bytes [#1]
17 DES Encrypt and decrypt 1 byte
21 DES Encrypt and decrypt 2 bytes
25 DES Encrypt and decrypt 7 bytes
29 DES Encrypt and decrypt 8 bytes
33 DES Encrypt and decrypt 9 bytes
37 DES Encrypt and decrypt 15 bytes
41 DES Encrypt and decrypt 16 bytes
45 DES Encrypt and decrypt 17 bytes
49 DES Encrypt and decrypt 31 bytes
[all …]
Dtest_suite_cipher.aes.data9 AES-128 CBC - Encrypt and decrypt 0 bytes with PKCS7 padding
13 AES-128 CBC - Encrypt and decrypt 1 byte with PKCS7 padding
17 AES-128 CBC - Encrypt and decrypt 2 bytes with PKCS7 padding
21 AES-128 CBC - Encrypt and decrypt 7 bytes with PKCS7 padding
25 AES-128 CBC - Encrypt and decrypt 8 bytes with PKCS7 padding
29 AES-128 CBC - Encrypt and decrypt 9 bytes with PKCS7 padding
33 AES-128 CBC - Encrypt and decrypt 15 bytes with PKCS7 padding
37 AES-128 CBC - Encrypt and decrypt 16 bytes with PKCS7 padding
41 AES-128 CBC - Encrypt and decrypt 17 bytes with PKCS7 padding
45 AES-128 CBC - Encrypt and decrypt 31 bytes with PKCS7 padding
[all …]
Dtest_suite_cipher.null.data1 NULL Encrypt and decrypt 0 bytes
5 NULL Encrypt and decrypt 1 bytes
9 NULL Encrypt and decrypt 2 bytes
13 NULL Encrypt and decrypt 7 bytes
17 NULL Encrypt and decrypt 8 bytes
21 NULL Encrypt and decrypt 9 bytes
25 NULL Encrypt and decrypt 15 bytes
29 NULL Encrypt and decrypt 16 bytes
33 NULL Encrypt and decrypt 31 bytes
37 NULL Encrypt and decrypt 32 bytes
[all …]
Dtest_suite_cipher.chacha20.data9 ChaCha20 Encrypt and decrypt 0 bytes
13 ChaCha20 Encrypt and decrypt 1 bytes
17 ChaCha20 Encrypt and decrypt 2 bytes
21 ChaCha20 Encrypt and decrypt 7 bytes
25 ChaCha20 Encrypt and decrypt 8 bytes
29 ChaCha20 Encrypt and decrypt 9 bytes
33 ChaCha20 Encrypt and decrypt 15 bytes
37 ChaCha20 Encrypt and decrypt 16 bytes
41 ChaCha20 Encrypt and decrypt 17 bytes
45 ChaCha20 Encrypt and decrypt 31 bytes
[all …]
Dtest_suite_des.data13 DES Encrypt OpenSSL Test Vector #1
16 DES Encrypt OpenSSL Test Vector #2
19 DES Encrypt OpenSSL Test Vector #3
22 DES Encrypt OpenSSL Test Vector #4
25 DES Encrypt OpenSSL Test Vector #5
28 DES Encrypt OpenSSL Test Vector #6
31 DES Encrypt OpenSSL Test Vector #7
34 DES Encrypt OpenSSL Test Vector #8
37 DES Encrypt OpenSSL Test Vector #9
40 DES Encrypt OpenSSL Test Vector #10
[all …]
Dtest_suite_aes.ecb.data1 AES-128-ECB Encrypt NIST KAT #1
4 AES-128-ECB Encrypt NIST KAT #2
7 AES-128-ECB Encrypt NIST KAT #3
10 AES-128-ECB Encrypt NIST KAT #4
13 AES-128-ECB Encrypt NIST KAT #5
16 AES-128-ECB Encrypt NIST KAT #6
19 AES-128-ECB Encrypt NIST KAT #7
22 AES-128-ECB Encrypt NIST KAT #8
25 AES-128-ECB Encrypt NIST KAT #9
28 AES-128-ECB Encrypt NIST KAT #10
[all …]
Dtest_suite_cipher.chachapoly.data5 ChaCha20+Poly1305 Encrypt and decrypt 0 bytes
9 ChaCha20+Poly1305 Encrypt and decrypt 1 bytes
13 ChaCha20+Poly1305 Encrypt and decrypt 2 bytes
17 ChaCha20+Poly1305 Encrypt and decrypt 7 bytes
21 ChaCha20+Poly1305 Encrypt and decrypt 8 bytes
25 ChaCha20+Poly1305 Encrypt and decrypt 9 bytes
29 ChaCha20+Poly1305 Encrypt and decrypt 15 bytes
33 ChaCha20+Poly1305 Encrypt and decrypt 16 bytes
37 ChaCha20+Poly1305 Encrypt and decrypt 17 bytes
41 ChaCha20+Poly1305 Encrypt and decrypt 31 bytes
[all …]
Dtest_suite_aes.cbc.data1 AES-128-CBC Encrypt NIST KAT #1
4 AES-128-CBC Encrypt NIST KAT #2
7 AES-128-CBC Encrypt NIST KAT #3
10 AES-128-CBC Encrypt NIST KAT #4
13 AES-128-CBC Encrypt NIST KAT #5
16 AES-128-CBC Encrypt NIST KAT #6
19 AES-128-CBC Encrypt NIST KAT #7
22 AES-128-CBC Encrypt NIST KAT #8
25 AES-128-CBC Encrypt NIST KAT #9
28 AES-128-CBC Encrypt NIST KAT #10
[all …]
Dtest_suite_aes.cfb.data1 AES-128-CFB128 Encrypt NIST KAT #1
5 AES-128-CFB128 Encrypt NIST KAT #2
9 AES-128-CFB128 Encrypt NIST KAT #3
13 AES-128-CFB128 Encrypt NIST KAT #4
17 AES-128-CFB128 Encrypt NIST KAT #5
21 AES-128-CFB128 Encrypt NIST KAT #6
25 AES-128-CFB128 Encrypt NIST KAT #7
29 AES-128-CFB128 Encrypt NIST KAT #8
33 AES-128-CFB128 Encrypt NIST KAT #9
37 AES-128-CFB128 Encrypt NIST KAT #10
[all …]
Dtest_suite_aes.xts.data4 AES-128-XTS Encrypt Fail Sector Too Small (by 16 bytes)
7 AES-128-XTS Encrypt Fail Sector Too Small (by 1 byte)
10 AES-128-XTS Encrypt Fail Sector Too Large (by 1 byte)
13 AES-128-XTS Encrypt Fail Sector Too Large (by 1 block)
38 AES-128-XTS Encrypt IEEE P1619/D16 Vector 1
41 AES-128-XTS Encrypt IEEE P1619/D16 Vector 2
44 AES-128-XTS Encrypt IEEE P1619/D16 Vector 3
50 AES-128-XTS Encrypt IEEE P1619/D16 Vector 4
53 AES-128-XTS Encrypt IEEE P1619/D16 Vector 5
56 AES-128-XTS Encrypt IEEE P1619/D16 Vector 6
[all …]
Dtest_suite_aria.data4 ARIA-128-ECB Encrypt - RFC 5794
10 ARIA-192-ECB Encrypt - RFC 5794
16 ARIA-256-ECB Encrypt - RFC 5794
22 ARIA-128-ECB Encrypt - Official Test Vectors 1.0
28 ARIA-192-ECB Encrypt - Official Test Vectors 1.0
34 ARIA-256-ECB Encrypt - Official Test Vectors 1.0
40 ARIA-128-CBC Encrypt - Official Test Vectors 1.0
46 ARIA-192-CBC Encrypt - Official Test Vectors 1.0
52 ARIA-256-CBC Encrypt - Official Test Vectors 1.0
58 ARIA-128-CTR Encrypt - Official Test Vectors 1.0
[all …]
Dtest_suite_aes.ofb.data4 OFB-AES128.Encrypt - Single block
8 OFB-AES128.Encrypt - Partial blocks - 7 bytes
12 OFB-AES128.Encrypt - Test NIST SP800-38A - F.4.1
20 OFB-AES192.Encrypt - Test NIST SP800-38A - F.4.3
28 OFB-AES256.Encrypt - Test NIST SP800-38A - F.4.5
Dtest_suite_chacha20.data1 ChaCha20 RFC 7539 Example and Test Vector (Encrypt)
7 ChaCha20 RFC 7539 Test Vector #1 (Encrypt)
13 ChaCha20 RFC 7539 Test Vector #2 (Encrypt)
19 ChaCha20 RFC 7539 Test Vector #3 (Encrypt)
Dtest_suite_pkcs12.data37 PBE Encrypt, pad = 7 (OK)
41 PBE Encrypt, pad = 8 (OK)
45 PBE Encrypt, pad = 8 (Invalid output size)
49 PBE Encrypt, pad = 8 (PKCS7 padding disabled)
Dtest_suite_aes.rest.data1 AES-ECB Encrypt (Invalid keylength)
7 AES-256-CBC Encrypt (Invalid input length)
Dtest_suite_cipher.gcm.data13 AES 128 GCM Encrypt and decrypt 0 bytes
17 AES 128 GCM Encrypt and decrypt 1 byte
21 AES 128 GCM Encrypt and decrypt 2 bytes
25 AES 128 GCM Encrypt and decrypt 7 bytes
29 AES 128 GCM Encrypt and decrypt 8 bytes
33 AES 128 GCM Encrypt and decrypt 9 bytes
37 AES 128 GCM Encrypt and decrypt 15 bytes
41 AES 128 GCM Encrypt and decrypt 16 bytes
45 AES 128 GCM Encrypt and decrypt 17 bytes
49 AES 128 GCM Encrypt and decrypt 31 bytes
[all …]
Dtest_suite_chachapoly.data1 ChaCha20-Poly1305 RFC 7539 Example and Test Vector (Encrypt)
10 ChaCha20-Poly1305 RFC 7539 Test Vector #1 (Encrypt)
Dtest_suite_pkcs5.data109 PBES2 Encrypt, pad=6 (OK)
113 PBES2 Encrypt, pad=8 (OK)
117 PBES2 Encrypt, pad=8 (Invalid output size)
121 PBES2 Encrypt, pad=6 (PKCS7 padding disabled)
125 PBES2 Encrypt, pad=8 (PKCS7 padding disabled)
129 PBES2 Encrypt, AES-128-CBC (OK, generated with OpenSSL)
133 PBES2 Encrypt, AES-192-CBC (OK, generated with OpenSSL)
137 PBES2 Encrypt, AES-256-CBC (OK, generated with OpenSSL)
Dtest_suite_block_cipher.function80 /* Encrypt with input != output */
84 /* Encrypt with input == output.
/openthread-latest/src/core/crypto/
Daes_ccm.cpp122 mEcb.Encrypt(mBlock, mBlock); in Init()
170 mEcb.Encrypt(mBlock, mBlock); in Header()
184 mEcb.Encrypt(mBlock, mBlock); in Header()
211 mEcb.Encrypt(mCtr, mCtrPad); in Payload()
228 mEcb.Encrypt(mBlock, mBlock); in Payload()
241 mEcb.Encrypt(mBlock, mBlock); in Payload()
270 mEcb.Encrypt(mCtr, mCtrPad); in Finalize()
Daes_ecb.hpp85 void Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]);

12