Lines Matching refs:MAXEP11AESKEYBLOBSIZE
540 u32 keysize = MAXEP11AESKEYBLOBSIZE; in pkey_ep11_aes_attr_read()
543 if (off != 0 || count < MAXEP11AESKEYBLOBSIZE) in pkey_ep11_aes_attr_read()
546 if (count < 2 * MAXEP11AESKEYBLOBSIZE) in pkey_ep11_aes_attr_read()
558 keysize = MAXEP11AESKEYBLOBSIZE; in pkey_ep11_aes_attr_read()
559 buf += MAXEP11AESKEYBLOBSIZE; in pkey_ep11_aes_attr_read()
566 return 2 * MAXEP11AESKEYBLOBSIZE; in pkey_ep11_aes_attr_read()
569 return MAXEP11AESKEYBLOBSIZE; in pkey_ep11_aes_attr_read()
622 static BIN_ATTR_RO(ep11_aes_128, MAXEP11AESKEYBLOBSIZE);
623 static BIN_ATTR_RO(ep11_aes_192, MAXEP11AESKEYBLOBSIZE);
624 static BIN_ATTR_RO(ep11_aes_256, MAXEP11AESKEYBLOBSIZE);
625 static BIN_ATTR_RO(ep11_aes_128_xts, 2 * MAXEP11AESKEYBLOBSIZE);
626 static BIN_ATTR_RO(ep11_aes_256_xts, 2 * MAXEP11AESKEYBLOBSIZE);