Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Daes.cc488 return_type aes_set_key(const unsigned char key[], length_type keylen, aes_context ctx[1]) { argument
491 switch (keylen) {
494 keylen = 16;
498 keylen = 24;
502 keylen = 32;
508 block_copy_nn(ctx->ksch, key, keylen);
509 hi = (keylen + 28) << 2;
511 for (cc = keylen, rc = 1; cc < hi; cc += 4) {
518 if (cc % keylen == 0) {
525 } else if (keylen > 24 && cc % keylen == 16) {
[all …]
Daes.h83 return_type aes_set_key(const unsigned char key[], length_type keylen, aes_context ctx[1]);