/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_add_aad.c | 56 unsigned long datalen, l; in ocb3_add_aad() local 76 datalen = aadlen - l; in ocb3_add_aad() 80 datalen = aadlen; in ocb3_add_aad() 83 if (datalen == 0) return CRYPT_OK; in ocb3_add_aad() 85 full_blocks = datalen/ocb->block_len; in ocb3_add_aad() 87 last_block_len = datalen - full_blocks_len; in ocb3_add_aad()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | pkcs12.c | 243 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen, in mbedtls_pkcs12_derivation() argument 263 if( datalen > 128 || pwdlen > 64 || saltlen > 64 ) in mbedtls_pkcs12_derivation() 287 while( datalen > 0 ) in mbedtls_pkcs12_derivation() 312 use_len = ( datalen > hlen ) ? hlen : datalen; in mbedtls_pkcs12_derivation() 314 datalen -= use_len; in mbedtls_pkcs12_derivation() 317 if( datalen == 0 ) in mbedtls_pkcs12_derivation()
|
A D | pkcs5.c | 111 const unsigned char *data, size_t datalen, in mbedtls_pkcs5_pbes2() argument 207 data, datalen, output, &olen ) ) != 0 ) in mbedtls_pkcs5_pbes2()
|
/optee_os/core/lib/libtomcrypt/src/stream/rc4/ |
A D | rc4_stream_memory.c | 25 const unsigned char *datain, unsigned long datalen, in rc4_stream_memory() argument 32 err = rc4_stream_crypt(&st, datain, datalen, dataout); in rc4_stream_memory()
|
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | xsalsa20_memory.c | 29 const unsigned char *datain, unsigned long datalen, unsigned char *dataout) in xsalsa20_memory() argument 35 err = salsa20_crypt(&st, datain, datalen, dataout); in xsalsa20_memory()
|
A D | salsa20_memory.c | 29 const unsigned char *datain, unsigned long datalen, unsigned char *dataout) in salsa20_memory() argument 36 err = salsa20_crypt(&st, datain, datalen, dataout); in salsa20_memory()
|
A D | xsalsa20_test.c | 23 static int _sha256(unsigned char *hash, const unsigned char *data, const int datalen) { in _sha256() argument 26 sha256_process(&md, data, datalen); in _sha256()
|
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk_memory.c | 28 const unsigned char *datain, unsigned long datalen, in sosemanuk_memory() argument 36 err = sosemanuk_crypt(&st, datain, datalen, dataout); in sosemanuk_memory()
|
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit_memory.c | 33 const unsigned char *datain, unsigned long datalen, in rabbit_memory() argument 41 err = rabbit_crypt(&st, datain, datalen, dataout); in rabbit_memory()
|
/optee_os/core/lib/libtomcrypt/src/stream/sober128/ |
A D | sober128_stream_memory.c | 28 const unsigned char *datain, unsigned long datalen, in sober128_stream_memory() argument 36 err = sober128_stream_crypt(&st, datain, datalen, dataout); in sober128_stream_memory()
|
/optee_os/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_memory.c | 29 const unsigned char *datain, unsigned long datalen, unsigned char *dataout) in chacha_memory() argument 42 err = chacha_crypt(&st, datain, datalen, dataout); in chacha_memory()
|
/optee_os/core/tee/ |
A D | tee_cryp_utl.c | 33 size_t datalen, uint8_t *digest, in tee_hash_createdigest() argument 47 if (datalen != 0) { in tee_hash_createdigest() 48 res = crypto_hash_update(ctx, data, datalen); in tee_hash_createdigest()
|
/optee_os/core/lib/libtomcrypt/src/mac/hmac/ |
A D | hmac_test.c | 149 unsigned long datalen; in hmac_test() 602 …if((err = hmac_memory(hash, cases[i].key, cases[i].keylen, cases[i].data, cases[i].datalen, digest… in hmac_test()
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | pkcs5.h | 68 const unsigned char *data, size_t datalen,
|
A D | pkcs12.h | 119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | pkcs5.h | 68 const unsigned char *data, size_t datalen,
|
A D | pkcs12.h | 119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | pkcs5.h | 68 const unsigned char *data, size_t datalen,
|
A D | pkcs12.h | 119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | pkcs5.h | 68 const unsigned char *data, size_t datalen,
|
A D | pkcs12.h | 119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | pkcs5.h | 68 const unsigned char *data, size_t datalen,
|
A D | pkcs12.h | 119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
/optee_os/core/include/tee/ |
A D | tee_cryp_utl.h | 14 size_t datalen, uint8_t *digest,
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_cipher.h | 1015 const unsigned char *datain, unsigned long datalen, unsigned char *dataout); 1037 const unsigned char *datain, unsigned long datalen, unsigned char *dataout); 1049 const unsigned char *datain, unsigned long datalen, unsigned char *dataout); 1076 const unsigned char *datain, unsigned long datalen, 1104 const unsigned char *datain, unsigned long datalen, 1122 const unsigned char *datain, unsigned long datalen, 1145 const unsigned char *datain, unsigned long datalen,
|