Home
last modified time | relevance | path

Searched refs:blocksize (Results 1 – 13 of 13) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/f9/
A Df9_process.c30 if ((f9->blocksize > cipher_descriptor[f9->cipher]->block_length) || (f9->blocksize < 0) || in f9_process()
31 (f9->buflen > f9->blocksize) || (f9->buflen < 0)) { in f9_process()
37 while (inlen >= (unsigned long)f9->blocksize) { in f9_process()
38 for (x = 0; x < f9->blocksize; x += sizeof(LTC_FAST_TYPE)) { in f9_process()
42 for (x = 0; x < f9->blocksize; x += sizeof(LTC_FAST_TYPE)) { in f9_process()
45 in += f9->blocksize; in f9_process()
46 inlen -= f9->blocksize; in f9_process()
52 if (f9->buflen == f9->blocksize) { in f9_process()
54 for (x = 0; x < f9->blocksize; x++) { in f9_process()
A Df9_done.c29 if ((f9->blocksize > cipher_descriptor[f9->cipher]->block_length) || (f9->blocksize < 0) || in f9_done()
30 (f9->buflen > f9->blocksize) || (f9->buflen < 0)) { in f9_done()
38 for (x = 0; x < f9->blocksize; x++) { in f9_done()
53 for (x = 0; x < f9->blocksize && (unsigned long)x < *outlen; x++) { in f9_done()
A Df9_init.c49 f9->blocksize = cipher_descriptor[cipher]->block_length; in f9_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/xcbc/
A Dxcbc_process.c33 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher]->block_length) || (xcbc->blocksize < 0) || in xcbc_process()
34 (xcbc->buflen > xcbc->blocksize) || (xcbc->buflen < 0)) { in xcbc_process()
40 while (inlen > (unsigned long)xcbc->blocksize) { in xcbc_process()
41 for (x = 0; x < xcbc->blocksize; x += sizeof(LTC_FAST_TYPE)) { in xcbc_process()
45 in += xcbc->blocksize; in xcbc_process()
46 inlen -= xcbc->blocksize; in xcbc_process()
52 if (xcbc->buflen == xcbc->blocksize) { in xcbc_process()
A Dxcbc_done.c29 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher]->block_length) || (xcbc->blocksize < 0) || in xcbc_done()
30 (xcbc->buflen > xcbc->blocksize) || (xcbc->buflen < 0)) { in xcbc_done()
35 if (xcbc->buflen == xcbc->blocksize) { in xcbc_done()
37 for (x = 0; x < xcbc->blocksize; x++) { in xcbc_done()
43 for (x = 0; x < xcbc->blocksize; x++) { in xcbc_done()
53 for (x = 0; x < xcbc->blocksize && (unsigned long)x < *outlen; x++) { in xcbc_done()
A Dxcbc_init.c81 xcbc->blocksize = cipher_descriptor[cipher]->block_length; in xcbc_init()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dcmac.c68 size_t blocksize ) in cmac_multiply_by_u() argument
76 if( blocksize == MBEDTLS_AES_BLOCK_SIZE ) in cmac_multiply_by_u()
80 else if( blocksize == MBEDTLS_DES3_BLOCK_SIZE ) in cmac_multiply_by_u()
89 for( i = (int)blocksize - 1; i >= 0; i-- ) in cmac_multiply_by_u()
109 output[ blocksize - 1 ] ^= R_n & mask; in cmac_multiply_by_u()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/hmac/
A Dhmac_init.c12 #define LTC_HMAC_BLOCKSIZE hash_descriptor[hash]->blocksize
A Dhmac_done.c12 #define LTC_HMAC_BLOCKSIZE hash_descriptor[hash]->blocksize
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_kdf.c15 unsigned long v = hash_descriptor[hash_id]->blocksize; in pkcs12_kdf()
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/chc/
A Dchc.c66 hash_descriptor[idx]->blocksize = cipher_descriptor[cipher]->block_length; in chc_register()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h188 blocksize; member
223 blocksize; member
A Dtomcrypt_hash.h207 unsigned long blocksize; member

Completed in 11 milliseconds