Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c27 unsigned char *wbuf, *sbuf, digest[MAXBLOCKSIZE]; in s_dsa_make_params() local
108 …if ((wbuf = XMALLOC((n+1)*outbytes)) == NULL) { err = CRYPT_MEM; … in s_dsa_make_params()
147 err = hash_memory(hash, sbuf, seedbytes, wbuf+(n-j)*outbytes, &i); in s_dsa_make_params()
150 if ((err = mp_read_unsigned_bin(W, wbuf, (n+1)*outbytes)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
194 XFREE(wbuf); in s_dsa_make_params()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c248 unsigned char wbuf[32]; in sosemanuk_setup() local
260 XMEMCPY(wbuf, key, keylen); in sosemanuk_setup()
262 wbuf[keylen] = 0x01; in sosemanuk_setup()
268 LOAD32L(w0, wbuf); in sosemanuk_setup()
269 LOAD32L(w1, wbuf + 4); in sosemanuk_setup()
270 LOAD32L(w2, wbuf + 8); in sosemanuk_setup()
271 LOAD32L(w3, wbuf + 12); in sosemanuk_setup()
272 LOAD32L(w4, wbuf + 16); in sosemanuk_setup()
273 LOAD32L(w5, wbuf + 20); in sosemanuk_setup()
274 LOAD32L(w6, wbuf + 24); in sosemanuk_setup()
[all …]

Completed in 4 milliseconds