Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 4 of 4) sorted by relevance

/crypto/
Dsha1_generic.c52 u32 temp[SHA_WORKSPACE_WORDS]; in crypto_sha1_update() local
62 sha_transform(sctx->state, src, temp); in crypto_sha1_update()
67 memzero_explicit(temp, sizeof(temp)); in crypto_sha1_update()
Dblowfish_common.c355 u32 data[2], temp; in blowfish_setkey() local
368 temp = (((u32)key[j] << 24) | in blowfish_setkey()
373 P[i] = P[i] ^ temp; in blowfish_setkey()
Ddrbg.c423 unsigned char *temp = iv + drbg_blocklen(drbg); in drbg_ctr_df() local
441 memset(temp, 0, drbg_statelen(drbg)); in drbg_ctr_df()
488 ret = drbg_ctr_bcc(drbg, temp + templen, K, &bcc_list); in drbg_ctr_df()
497 X = temp + (drbg_keylen(drbg)); in drbg_ctr_df()
510 ret = drbg_kcapi_sym(drbg, temp, X, &cipherin); in drbg_ctr_df()
526 memset(temp, 0, drbg_statelen(drbg)); in drbg_ctr_df()
551 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update() local
559 memset(temp, 0, drbg_statelen(drbg) + drbg_blocklen(drbg)); in drbg_ctr_update()
580 ret = drbg_kcapi_sym(drbg, drbg->C, temp + len, &cipherin); in drbg_ctr_update()
588 temp_p = temp; in drbg_ctr_update()
[all …]
Dtestmgr.c197 unsigned int i, j, k, temp; in __test_hash() local
314 temp = 0; in __test_hash()
324 template[i].plaintext + temp, in __test_hash()
327 temp += template[i].tap[k]; in __test_hash()
424 unsigned int i, j, k, n, temp; in __test_aead() local
639 for (k = 0, temp = 0; k < template[i].np; k++) { in __test_aead()
645 memcpy(q, template[i].input + temp, template[i].tap[k]); in __test_aead()
663 temp += template[i].tap[k]; in __test_aead()
689 for (k = 0, temp = 0; k < template[i].anp; k++) { in __test_aead()
696 template[i].assoc + temp, in __test_aead()
[all …]