Home
last modified time | relevance | path

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

/crypto/
Dchacha20poly1305.c37 u8 pad[POLY1305_BLOCK_SIZE]; member
210 memset(preq->pad, 0, sizeof(preq->pad)); in poly_cipherpad()
211 sg_init_one(preq->src, preq->pad, padlen); in poly_cipherpad()
269 memset(preq->pad, 0, sizeof(preq->pad)); in poly_adpad()
270 sg_init_one(preq->src, preq->pad, padlen); in poly_adpad()
Ddrbg.c405 unsigned char *pad = df_data + drbg_statelen(drbg); in drbg_ctr_df() local
406 unsigned char *iv = pad + drbg_blocklen(drbg); in drbg_ctr_df()
423 memset(pad, 0, drbg_blocklen(drbg)); in drbg_ctr_df()
451 pad[0] = 0x80; in drbg_ctr_df()
459 drbg_string_fill(&S4, pad, padlen); in drbg_ctr_df()
511 memset(pad, 0, drbg_blocklen(drbg)); in drbg_ctr_df()
Dvmac.c568 u64 hash, pad; in vmac_final() local
591 pad = be64_to_cpu(dctx->nonce.pads[index]); in vmac_final()
594 put_unaligned_be64(hash + pad, out); in vmac_final()