Home
last modified time | relevance | path

Searched refs:bltmp (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/rands/
H A Ddrbg_ctr.c50 unsigned char bltmp[16]; member
138 unsigned char bltmp[48] = {0}; in ctr_BCC_init() local
143 bltmp[(AES_BLOCK_SIZE * 1) + 3] = 1; in ctr_BCC_init()
144 bltmp[(AES_BLOCK_SIZE * 2) + 3] = 2; in ctr_BCC_init()
145 return ctr_BCC_block(ctr, ctr->KX, bltmp, num_of_blk * AES_BLOCK_SIZE); in ctr_BCC_init()
163 memcpy(ctr->bltmp + ctr->bltmp_pos, in, left); in ctr_BCC_update()
164 if (!ctr_BCC_blocks(ctr, ctr->bltmp)) in ctr_BCC_update()
180 memcpy(ctr->bltmp + ctr->bltmp_pos, in, inlen); in ctr_BCC_update()
189 memset(ctr->bltmp + ctr->bltmp_pos, 0, 16 - ctr->bltmp_pos); in ctr_BCC_final()
190 if (!ctr_BCC_blocks(ctr, ctr->bltmp)) in ctr_BCC_final()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Ddrbg_ctr.c103 unsigned char bltmp[48] = {0}; in ctr_BCC_init() local
108 bltmp[(AES_BLOCK_SIZE * 1) + 3] = 1; in ctr_BCC_init()
109 bltmp[(AES_BLOCK_SIZE * 2) + 3] = 2; in ctr_BCC_init()
110 return ctr_BCC_block(ctr, ctr->KX, bltmp, num_of_blk * AES_BLOCK_SIZE); in ctr_BCC_init()
128 memcpy(ctr->bltmp + ctr->bltmp_pos, in, left); in ctr_BCC_update()
129 if (!ctr_BCC_blocks(ctr, ctr->bltmp)) in ctr_BCC_update()
145 memcpy(ctr->bltmp + ctr->bltmp_pos, in, inlen); in ctr_BCC_update()
154 memset(ctr->bltmp + ctr->bltmp_pos, 0, 16 - ctr->bltmp_pos); in ctr_BCC_final()
155 if (!ctr_BCC_blocks(ctr, ctr->bltmp)) in ctr_BCC_final()
168 unsigned char *p = ctr->bltmp; in ctr_df()
H A Drand_local.h150 unsigned char bltmp[16]; member