Searched refs:SHA256_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
43 #define SHA256_BLOCK_SIZE 64 macro155 unsigned char k_ipad[SHA256_BLOCK_SIZE]; in rpmb_hmac()156 unsigned char k_opad[SHA256_BLOCK_SIZE]; in rpmb_hmac()174 for ( ; i < SHA256_BLOCK_SIZE; i++) { in rpmb_hmac()178 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in rpmb_hmac()186 sha256_update(&ctx, k_opad, SHA256_BLOCK_SIZE); in rpmb_hmac()
33 #define SHA256_BLOCK_SIZE 64 macro159 unsigned char k_ipad[SHA256_BLOCK_SIZE]; in ufs_rpmb_hmac()160 unsigned char k_opad[SHA256_BLOCK_SIZE]; in ufs_rpmb_hmac()178 for ( ; i < SHA256_BLOCK_SIZE; i++) { in ufs_rpmb_hmac()182 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in ufs_rpmb_hmac()193 sha256_update(&ctx, k_opad, SHA256_BLOCK_SIZE); in ufs_rpmb_hmac()
198 #define SHA256_MASK (SHA256_BLOCK_SIZE - 1)321 space = SHA256_BLOCK_SIZE - pos; in sha256_hash()331 space = SHA256_BLOCK_SIZE; in sha256_hash()333 bsw_32(ctx->wbuf, SHA256_BLOCK_SIZE >> 2); in sha256_hash()366 if (i > SHA256_BLOCK_SIZE - 9) { in sha256_end()
95 #define SHA256_BLOCK_SIZE 64 macro