Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 25 of 26) sorted by relevance

12

/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_add_aad.c56 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 Dpkcs12.c243 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 Dpkcs5.c111 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 Drc4_stream_memory.c25 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 Dxsalsa20_memory.c29 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 Dsalsa20_memory.c29 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 Dxsalsa20_test.c23 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 Dsosemanuk_memory.c28 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 Drabbit_memory.c33 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 Dsober128_stream_memory.c28 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 Dchacha_memory.c29 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 Dtee_cryp_utl.c33 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 Dhmac_test.c149 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 Dpkcs5.h68 const unsigned char *data, size_t datalen,
A Dpkcs12.h119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dpkcs5.h68 const unsigned char *data, size_t datalen,
A Dpkcs12.h119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpkcs5.h68 const unsigned char *data, size_t datalen,
A Dpkcs12.h119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dpkcs5.h68 const unsigned char *data, size_t datalen,
A Dpkcs12.h119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dpkcs5.h68 const unsigned char *data, size_t datalen,
A Dpkcs12.h119 int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
/optee_os/core/include/tee/
A Dtee_cryp_utl.h14 size_t datalen, uint8_t *digest,
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1015 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,

Completed in 32 milliseconds

12