n_sz 174 crypto/rsa.c mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); n_sz 212 crypto/rsa.c mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); n_sz 21 crypto/rsa_helper.c size_t n_sz = vlen; n_sz 28 crypto/rsa_helper.c while (n_sz && !*ptr) { n_sz 30 crypto/rsa_helper.c n_sz--; n_sz 34 crypto/rsa_helper.c if (n_sz < 256) { n_sz 41 crypto/rsa_helper.c key->n_sz = vlen; n_sz 52 crypto/rsa_helper.c if (!value || !key->n_sz || !vlen || vlen > key->n_sz) n_sz 67 crypto/rsa_helper.c if (!value || !key->n_sz || !vlen || vlen > key->n_sz) n_sz 82 crypto/rsa_helper.c if (!value || !vlen || vlen > key->n_sz) n_sz 97 crypto/rsa_helper.c if (!value || !vlen || vlen > key->n_sz) n_sz 112 crypto/rsa_helper.c if (!value || !vlen || vlen > key->n_sz) n_sz 127 crypto/rsa_helper.c if (!value || !vlen || vlen > key->n_sz) n_sz 142 crypto/rsa_helper.c if (!value || !vlen || vlen > key->n_sz) n_sz 46 drivers/crypto/atmel-ecc.c size_t n_sz; n_sz 56 drivers/crypto/atmel-ecc.c size_t copied, n_sz; n_sz 62 drivers/crypto/atmel-ecc.c n_sz = min_t(size_t, ctx->n_sz, req->dst_len); n_sz 65 drivers/crypto/atmel-ecc.c copied = sg_copy_from_buffer(req->dst, sg_nents_for_len(req->dst, n_sz), n_sz 66 drivers/crypto/atmel-ecc.c &cmd->data[RSP_DATA_IDX], n_sz); n_sz 67 drivers/crypto/atmel-ecc.c if (copied != n_sz) n_sz 107 drivers/crypto/atmel-ecc.c ctx->n_sz = atmel_ecdh_supported_curve(params.curve_id); n_sz 108 drivers/crypto/atmel-ecc.c if (!ctx->n_sz || params.key_size) { n_sz 64 drivers/crypto/caam/caampkc.c dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); n_sz 76 drivers/crypto/caam/caampkc.c dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); n_sz 261 drivers/crypto/caam/caampkc.c if (req->src_len > key->n_sz) { n_sz 267 drivers/crypto/caam/caampkc.c key->n_sz, sg_flags); n_sz 279 drivers/crypto/caam/caampkc.c diff_size = key->n_sz - req->src_len; n_sz 373 drivers/crypto/caam/caampkc.c pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); n_sz 382 drivers/crypto/caam/caampkc.c dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); n_sz 402 drivers/crypto/caam/caampkc.c pdb->sgf |= (key->e_sz << RSA_PDB_E_SHIFT) | key->n_sz; n_sz 418 drivers/crypto/caam/caampkc.c pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); n_sz 427 drivers/crypto/caam/caampkc.c dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); n_sz 449 drivers/crypto/caam/caampkc.c pdb->sgf |= (key->d_sz << RSA_PDB_D_SHIFT) | key->n_sz; n_sz 514 drivers/crypto/caam/caampkc.c pdb->sgf |= (key->d_sz << RSA_PDB_D_SHIFT) | key->n_sz; n_sz 603 drivers/crypto/caam/caampkc.c pdb->sgf |= key->n_sz; n_sz 636 drivers/crypto/caam/caampkc.c if (req->dst_len < key->n_sz) { n_sz 637 drivers/crypto/caam/caampkc.c req->dst_len = key->n_sz; n_sz 776 drivers/crypto/caam/caampkc.c if (req->dst_len < key->n_sz) { n_sz 777 drivers/crypto/caam/caampkc.c req->dst_len = key->n_sz; n_sz 895 drivers/crypto/caam/caampkc.c rsa_key->n = caam_read_raw_data(raw_key.n, &raw_key.n_sz); n_sz 899 drivers/crypto/caam/caampkc.c if (caam_rsa_check_key_length(raw_key.n_sz << 3)) { n_sz 905 drivers/crypto/caam/caampkc.c rsa_key->n_sz = raw_key.n_sz; n_sz 1001 drivers/crypto/caam/caampkc.c rsa_key->n = caam_read_raw_data(raw_key.n, &raw_key.n_sz); n_sz 1005 drivers/crypto/caam/caampkc.c if (caam_rsa_check_key_length(raw_key.n_sz << 3)) { n_sz 1012 drivers/crypto/caam/caampkc.c rsa_key->n_sz = raw_key.n_sz; n_sz 1027 drivers/crypto/caam/caampkc.c return ctx->key.n_sz; n_sz 80 drivers/crypto/caam/caampkc.h size_t n_sz; n_sz 145 drivers/crypto/ccp/ccp-crypto-rsa.c raw_key.n, raw_key.n_sz); n_sz 1218 drivers/crypto/qat/qat_common/qat_asym_algs.c ret = qat_rsa_set_n(ctx, rsa_key.n, rsa_key.n_sz); n_sz 40 include/crypto/internal/rsa.h size_t n_sz;