Searched refs:ctr (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | ccm.c | 128 if( ( ret = mbedtls_cipher_update( &ctx->cipher_ctx, ctr, 16, b, &olen ) ) != 0 ) \ 149 unsigned char ctr[16]; in ccm_auth_crypt() local 244 ctr[0] = q - 1; in ccm_auth_crypt() 245 memcpy( ctr + 1, iv, iv_len ); in ccm_auth_crypt() 246 memset( ctr + 1 + iv_len, 0, q ); in ccm_auth_crypt() 247 ctr[15] = 1; in ccm_auth_crypt() 288 if( ++ctr[15-i] != 0 ) in ccm_auth_crypt() 296 ctr[15-i] = 0; in ccm_auth_crypt()
|
D | ssl_tls.c | 1208 unsigned char *ctr, int type ) in ssl_mac() argument 1222 memcpy( header, ctr, 8 ); in ssl_mac()
|