/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | tea.c | 157 … if ((err = base16_decode(tests[i].key, XSTRLEN(tests[i].key), key, &l)) != CRYPT_OK) return err; in tea_test() 159 … if ((err = base16_decode(tests[i].pt, XSTRLEN(tests[i].pt), ptct[0], &l)) != CRYPT_OK) return err; in tea_test() 161 … if ((err = base16_decode(tests[i].ct, XSTRLEN(tests[i].ct), ptct[1], &l)) != CRYPT_OK) return err; in tea_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_crypto_ctx.c | 17 const unsigned long prefix_len = XSTRLEN(prefix); in ec25519_crypto_ctx()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305_test.c | 22 unsigned long len = 16, mlen = XSTRLEN(m); in poly1305_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha224.c | 108 sha224_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha224_test()
|
A D | sha512_224.c | 110 sha512_224_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha512_224_test()
|
A D | sha384.c | 114 sha384_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha384_test()
|
A D | sha512_256.c | 110 sha512_256_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha512_256_test()
|
A D | sha512.c | 290 sha512_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha512_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | blake2b.c | 477 blake2b_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2b_512_test() 524 blake2b_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2b_384_test() 577 blake2b_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2b_256_test() 618 blake2b_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2b_160_test()
|
A D | blake2s.c | 467 blake2s_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2s_256_test() 511 blake2s_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2s_224_test() 553 blake2s_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2s_160_test() 593 blake2s_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in blake2s_128_test()
|
A D | md2.c | 229 md2_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in md2_test()
|
A D | sha1.c | 264 sha1_process(&md, (unsigned char*)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha1_test()
|
A D | md4.c | 283 md4_process(&md, (unsigned char *)tests[i].input, (unsigned long)XSTRLEN(tests[i].input)); in md4_test()
|
A D | md5.c | 344 md5_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in md5_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ |
A D | crc32.c | 185 crc32_update(&ctx, in, XSTRLEN(in)); in crc32_test()
|
A D | adler32.c | 115 adler32_update(&ctx, in, XSTRLEN(in)); in adler32_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/oid/ |
A D | pk_oid_str.c | 19 OID_len = XSTRLEN(OID); in pk_oid_str_to_num()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk_test.c | 25 len = XSTRLEN(pt); in sosemanuk_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_test.c | 36 len = XSTRLEN(pt); in chacha_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | salsa20_test.c | 35 len = XSTRLEN(pt); in salsa20_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sha512_accel.c | 174 sha512_process(&md, (unsigned char *)tests[i].msg, (unsigned long)XSTRLEN(tests[i].msg)); in sha512_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_custom.h | 42 #ifndef XSTRLEN 43 #define XSTRLEN strlen macro
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/chc/ |
A D | chc.c | 284 if ((err = chc_process(&md, tests[i].msg, XSTRLEN((char *)tests[i].msg))) != CRYPT_OK) { in chc_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_test.c | 28 unsigned long mlen = XSTRLEN(m); in chacha20poly1305_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 407 unsigned long ptlen = XSTRLEN(pt); in rabbit_test()
|