Lines Matching refs:keybufsize
701 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()
783 if (*keybufsize < (sizeof(struct ep11kblob_header) + in pkey_clr2seckey2()
808 clrkey, keybuf, keybufsize, in pkey_clr2seckey2()
813 *keybufsize = (rc ? 0 : SECKEYBLOBSIZE); in pkey_clr2seckey2()
817 clrkey, keybuf, keybufsize); in pkey_clr2seckey2()