Home
last modified time | relevance | path

Searched refs:MBEDTLS_CTR_DRBG_BLOCKSIZE (Results 1 – 2 of 2) sorted by relevance

/third_party/mbedtls/library/
Dctr_drbg.c129 MBEDTLS_CTR_DRBG_BLOCKSIZE + 16]; in block_cipher_df()
132 unsigned char chain[MBEDTLS_CTR_DRBG_BLOCKSIZE]; in block_cipher_df()
144 MBEDTLS_CTR_DRBG_BLOCKSIZE + 16 ); in block_cipher_df()
154 p = buf + MBEDTLS_CTR_DRBG_BLOCKSIZE; in block_cipher_df()
161 buf_len = MBEDTLS_CTR_DRBG_BLOCKSIZE + 8 + data_len + 1; in block_cipher_df()
175 for( j = 0; j < MBEDTLS_CTR_DRBG_SEEDLEN; j += MBEDTLS_CTR_DRBG_BLOCKSIZE ) in block_cipher_df()
178 memset( chain, 0, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in block_cipher_df()
183 for( i = 0; i < MBEDTLS_CTR_DRBG_BLOCKSIZE; i++ ) in block_cipher_df()
185 p += MBEDTLS_CTR_DRBG_BLOCKSIZE; in block_cipher_df()
186 use_len -= ( use_len >= MBEDTLS_CTR_DRBG_BLOCKSIZE ) ? in block_cipher_df()
[all …]
/third_party/mbedtls/include/mbedtls/
Dctr_drbg.h62 #define MBEDTLS_CTR_DRBG_BLOCKSIZE 16 /**< The block size used by the cipher. */ macro
81 #define MBEDTLS_CTR_DRBG_SEEDLEN ( MBEDTLS_CTR_DRBG_KEYSIZE + MBEDTLS_CTR_DRBG_BLOCKSIZE