/linux/net/netfilter/ |
H A D | nft_numgen.c | 19 u32 modulus; member 30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; in nft_ng_inc_gen() 62 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init() 63 if (priv->modulus == 0) in nft_ng_inc_init() 66 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_ng_inc_init() 73 atomic_set(priv->counter, priv->modulus - 1); in nft_ng_inc_init() 98 u32 modulus, enum nft_ng_types type, u32 offset) in nft_ng_dump() argument 102 if (nla_put_be32(skb, NFTA_NG_MODULUS, htonl(modulus))) in nft_ng_dump() 120 return nft_ng_dump(skb, priv->dreg, priv->modulus, NFT_NG_INCREMENTAL, in nft_ng_inc_dump() 134 u32 modulus; member [all …]
|
H A D | nft_hash.c | 21 u32 modulus; member 35 priv->modulus); in nft_jhash_eval() 42 u32 modulus; member 55 priv->modulus); in nft_symhash_eval() 99 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_jhash_init() 100 if (priv->modulus < 1) in nft_jhash_init() 103 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_jhash_init() 130 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_symhash_init() 131 if (priv->modulus < 1) in nft_symhash_init() 134 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_symhash_init() [all …]
|
/linux/drivers/crypto/caam/ |
H A D | caampkc.h | 22 * n the RSA modulus 27 * p the first prime factor of the RSA modulus n 28 * q the second prime factor of the RSA modulus n 33 * p the first prime factor of the RSA modulus n 34 * q the second prime factor of the RSA modulus n 50 * @n : RSA modulus raw byte stream 53 * @p : RSA prime factor p of RSA modulus n 54 * @q : RSA prime factor q of RSA modulus n 62 * @n_sz : length in bytes of RSA modulus n 65 * @p_sz : length in bytes of RSA prime factor p of RSA modulus n [all …]
|
H A D | pdb.h | 504 * @n_dma: dma address of RSA modulus 524 * @n_dma: dma address of RSA modulus 543 * @p_dma : dma address of RSA prime factor p of RSA modulus n 544 * @q_dma : dma address of RSA prime factor q of RSA modulus n 549 * @p_q_len : length in bytes of first two prime factors of the RSA modulus n 568 * the RSA modulus. 573 * @p_dma : dma address of RSA prime factor p of RSA modulus n 574 * @q_dma : dma address of RSA prime factor q of RSA modulus n 581 * @p_q_len : length in bytes of first two prime factors of the RSA modulus n
|
/linux/arch/alpha/lib/ |
H A D | divide.S | 39 * $2 - modulus/quotient 45 * $27 - quotient/modulus 65 #define modulus $2 macro 73 #define modulus $27 macro 106 bis $24,$24,modulus 111 LONGIFY(modulus) 125 1: cmpult divisor,modulus,compare 130 1: cmpult divisor,modulus,compare 141 cmpule divisor,modulus,compare 142 subq modulus,divisor,tmp1 [all …]
|
H A D | ev6-divide.S | 39 * $2 - modulus/quotient 45 * $27 - quotient/modulus 75 #define modulus $2 macro 83 #define modulus $27 macro 117 bis $24,$24,modulus # E : 123 LONGIFY(modulus) # E : 144 1: cmpult divisor,modulus,compare # E : 149 1: cmpult divisor,modulus,compare # E : 172 cmpule divisor,modulus,compare # E : 173 subq modulus,divisor,tmp1 # E : [all …]
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype50.c | 31 /* >= CEX3A: 512 bit modulus, (max outputdatalength) + type80_hdr */ 67 /* Mod-Exp, with a small modulus */ 73 unsigned char modulus[128]; member 77 /* Mod-Exp, with a large modulus */ 83 unsigned char modulus[256]; member 87 /* Mod-Exp, with a larger modulus */ 93 unsigned char modulus[512]; member 97 /* CRT, with a small modulus */ 110 /* CRT, with a large modulus */ 123 /* CRT, with a larger modulus */ [all …]
|
H A D | zcrypt_cca_key.h | 40 * In a private key, the modulus doesn't appear in the public 62 * and modulus, in that order, where pad_len is the modulo 8 134 /* modulus */ in zcrypt_type6_mex_key_en() 228 * In a private key, the modulus doesn't appear in the public in zcrypt_type6_crt_key()
|
/linux/net/ax25/ |
H A D | ax25_std_in.c | 43 ax25->modulus = AX25_MODULUS; in ax25_std_state1_machine() 49 ax25->modulus = AX25_EMODULUS; in ax25_std_state1_machine() 82 if (ax25->modulus == AX25_MODULUS) { in ax25_std_state1_machine() 85 ax25->modulus = AX25_MODULUS; in ax25_std_state1_machine() 149 ax25->modulus = AX25_MODULUS; in ax25_std_state3_machine() 152 ax25->modulus = AX25_EMODULUS; in ax25_std_state3_machine() 224 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state3_machine() 274 ax25->modulus = AX25_MODULUS; in ax25_std_state4_machine() 277 ax25->modulus = AX25_EMODULUS; in ax25_std_state4_machine() 379 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state4_machine()
|
H A D | ax25_ds_in.c | 36 ax25->modulus = AX25_MODULUS; in ax25_ds_state1_machine() 42 ax25->modulus = AX25_EMODULUS; in ax25_ds_state1_machine() 153 ax25->modulus = AX25_MODULUS; in ax25_ds_state3_machine() 156 ax25->modulus = AX25_EMODULUS; in ax25_ds_state3_machine() 239 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_ds_state3_machine()
|
H A D | ax25_std_timer.c | 125 if (ax25->modulus == AX25_MODULUS) { in ax25_std_t1timer_expiry() 129 ax25->modulus = AX25_MODULUS; in ax25_std_t1timer_expiry() 136 if (ax25->modulus == AX25_MODULUS) in ax25_std_t1timer_expiry()
|
H A D | ax25_out.c | 220 if (ax25->modulus == AX25_MODULUS) { in ax25_send_iframe() 257 end = (ax25->va + ax25->window) % ax25->modulus; in ax25_kick() 287 next = (ax25->vs + 1) % ax25->modulus; in ax25_kick() 348 ax25_addr_build(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); in ax25_transmit_buffer()
|
H A D | ax25_subr.c | 57 ax25->va = (ax25->va + 1) % ax25->modulus; in ax25_frames_acked() 85 vc = (vc + 1) % ax25->modulus; in ax25_validate_nr() 105 if (ax25->modulus == AX25_MODULUS) { in ax25_decode() 160 if (ax25->modulus == AX25_MODULUS) { in ax25_send_control()
|
H A D | ax25_ds_timer.c | 193 if (ax25->modulus == AX25_MODULUS) { in ax25_ds_t1_timeout() 197 ax25->modulus = AX25_MODULUS; in ax25_ds_t1_timeout() 204 if (ax25->modulus == AX25_MODULUS) in ax25_ds_t1_timeout()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw_abi.h | 20 * | CSS header | uCode | RSA key | modulus | exponent | 28 * The firmware may or may not have modulus key and exponent data. The header, 31 * In the case that modulus and exponent are not present in fw, a.k.a truncated 40 * 4. Modulus and exponent key are not required by driver. They may not appear 53 * key, modulus key and exponent data.
|
/linux/net/lapb/ |
H A D | lapb_subr.c | 49 int modulus; in lapb_frames_acked() local 51 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_frames_acked() 60 lapb->va = (lapb->va + 1) % modulus; in lapb_frames_acked() 89 int modulus; in lapb_validate_nr() local 91 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_validate_nr() 96 vc = (vc + 1) % modulus; in lapb_validate_nr()
|
H A D | lapb_out.c | 69 unsigned short modulus, start, end; in lapb_kick() local 71 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_kick() 73 end = (lapb->va + lapb->window) % modulus; in lapb_kick() 99 lapb->vs = (lapb->vs + 1) % modulus; in lapb_kick()
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-tpm | 128 Modulus length: 256 129 Modulus: 158 Modulus Length: 256 (bytes) 159 Modulus: The 256 byte Endorsement Key modulus
|
/linux/net/x25/ |
H A D | x25_out.c | 140 int modulus; in x25_kick() local 162 modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_kick() 165 end = (x25->va + x25->facilities.winsize_out) % modulus; in x25_kick() 192 x25->vs = (x25->vs + 1) % modulus; in x25_kick()
|
H A D | x25_subr.c | 55 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() local 64 x25->va = (x25->va + 1) % modulus; in x25_frames_acked() 94 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr() local 99 vc = (vc + 1) % modulus; in x25_validate_nr()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-cdc_ncm | 126 NDP alignment modulus for NTBs on the IN pipe. Shall 141 OUT NTB Datagram alignment modulus 158 NDP alignment modulus for use in NTBs on the OUT
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_pipe.c | 511 unsigned int modulus; in vsp1_pipeline_calculate_partition() local 526 modulus = format->width % div_size; in vsp1_pipeline_calculate_partition() 532 * If the modulus is less than half of the partition size, in vsp1_pipeline_calculate_partition() 537 if (modulus) { in vsp1_pipeline_calculate_partition() 544 if (modulus < div_size / 2) { in vsp1_pipeline_calculate_partition() 550 window.width = (div_size / 2) + modulus; in vsp1_pipeline_calculate_partition() 554 window.width = modulus; in vsp1_pipeline_calculate_partition()
|
/linux/arch/x86/include/asm/ |
H A D | sgx.h | 87 /* The modulus size for 3072-bit RSA keys. */ 385 * @modulus: the modulus of the public key 387 * @signature: the signature calculated over the fields except modulus, 397 u8 modulus[SGX_MODULUS_SIZE]; member
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_uc_fw_abi.h | 23 * | CSS header | uCode | RSA key | modulus | exponent | 31 * The firmware may or may not have modulus key and exponent data. The header, 34 * In the case that modulus and exponent are not present in fw, a.k.a truncated 43 * 4. Modulus and exponent key are not required by driver. They may not appear 51 * key, modulus key and exponent data.
|
/linux/drivers/pwm/ |
H A D | pwm-berlin.c | 30 * bits. So, the max TCNT that actually works for a modulus of 4 is 0x3fff; 32 * useless, as we could just do the shift ourselves. The 4096 modulus is 34 * as a flag instead of pretending the modulus is actually configurable.
|