Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c255 unsigned char wbuf[32]; in sosemanuk_setup() local
267 XMEMCPY(wbuf, key, keylen); in sosemanuk_setup()
269 wbuf[keylen] = 0x01; in sosemanuk_setup()
275 LOAD32L(w0, wbuf); in sosemanuk_setup()
276 LOAD32L(w1, wbuf + 4); in sosemanuk_setup()
277 LOAD32L(w2, wbuf + 8); in sosemanuk_setup()
278 LOAD32L(w3, wbuf + 12); in sosemanuk_setup()
279 LOAD32L(w4, wbuf + 16); in sosemanuk_setup()
280 LOAD32L(w5, wbuf + 20); in sosemanuk_setup()
281 LOAD32L(w6, wbuf + 24); in sosemanuk_setup()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c34 unsigned char *wbuf, *sbuf, digest[MAXBLOCKSIZE]; in _dsa_make_params() local
115 …if ((wbuf = XMALLOC((n+1)*outbytes)) == NULL) { err = CRYPT_MEM; … in _dsa_make_params()
154 err = hash_memory(hash, sbuf, seedbytes, wbuf+(n-j)*outbytes, &i); in _dsa_make_params()
157 if ((err = mp_read_unsigned_bin(W, wbuf, (n+1)*outbytes)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
201 XFREE(wbuf); in _dsa_make_params()

Completed in 4 milliseconds