Home
last modified time | relevance | path

Searched refs:keybufsize (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/s390/crypto/
Dzcrypt_ep11misc.c774 u8 *keybuf, size_t *keybufsize) in _ep11_genaeskey() argument
895 if (rep_pl->data_len > *keybufsize) { in _ep11_genaeskey()
904 *keybufsize = rep_pl->data_len; in _ep11_genaeskey()
914 u8 *keybuf, size_t *keybufsize, u32 keybufver) in ep11_genaeskey() argument
929 rc = ep11_kb_split(keybuf, *keybufsize, keybufver, in ep11_genaeskey()
939 *keybufsize = hdr_size + pl_size; in ep11_genaeskey()
943 hdr->len = *keybufsize; in ep11_genaeskey()
1083 u8 *keybuf, size_t *keybufsize) in _ep11_unwrapkey() argument
1205 if (rep_pl->data_len > *keybufsize) { in _ep11_unwrapkey()
1214 *keybufsize = rep_pl->data_len; in _ep11_unwrapkey()
[all …]
Dzcrypt_ep11misc.h118 u8 *keybuf, size_t *keybufsize, u32 keybufver);
124 const u8 *clrkey, u8 *keybuf, size_t *keybufsize,
Dzcrypt_ccamisc.h181 u8 *keybuf, size_t *keybufsize);
193 const u8 *clrkey, u8 *keybuf, size_t *keybufsize);
Dpkey_api.c701 u32 kflags, u8 *keybuf, size_t *keybufsize) in pkey_genseckey2() argument
713 if (*keybufsize < SECKEYBLOBSIZE) in pkey_genseckey2()
717 if (*keybufsize < MINEP11AESKEYBLOBSIZE) in pkey_genseckey2()
721 if (*keybufsize < (sizeof(struct ep11kblob_header) + in pkey_genseckey2()
744 keybuf, keybufsize, ktype); in pkey_genseckey2()
747 *keybufsize = (rc ? 0 : SECKEYBLOBSIZE); in pkey_genseckey2()
751 keybuf, keybufsize); in pkey_genseckey2()
763 u8 *keybuf, size_t *keybufsize) in pkey_clr2seckey2() argument
775 if (*keybufsize < SECKEYBLOBSIZE) in pkey_clr2seckey2()
779 if (*keybufsize < MINEP11AESKEYBLOBSIZE) in pkey_clr2seckey2()
[all …]
Dzcrypt_ccamisc.c745 u8 *keybuf, size_t *keybufsize) in cca_gencipherkey() argument
926 if (*keybufsize >= t->len) in cca_gencipherkey()
931 *keybufsize = t->len; in cca_gencipherkey()
1098 const u8 *clrkey, u8 *keybuf, size_t *keybufsize) in cca_clr2cipherkey() argument
1167 if (tokensize > *keybufsize) in cca_clr2cipherkey()
1172 *keybufsize = tokensize; in cca_clr2cipherkey()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-secvar.c73 static int opal_get_next_variable(const char *key, u64 *keylen, u64 keybufsize) in opal_get_next_variable() argument
82 rc = opal_secvar_get_next(key, keylen, keybufsize); in opal_get_next_variable()
/linux-6.6.21/arch/powerpc/include/asm/
Dsecvar.h19 int (*get_next)(const char *key, u64 *key_len, u64 keybufsize);