1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
13 Octet to Integer OS2IP, Tom St Denis
18 Read a binary string into an mp_int
19 @param n [out] The mp_int destination
20 @param in The binary string to read
21 @param inlen The length of the binary string
22 @return CRYPT_OK if successful
24 int pkcs_1_os2ip(void *n, unsigned char *in, unsigned long inlen)
26 return mp_read_unsigned_bin(n, in, inlen);
29 #endif /* LTC_PKCS_1 */
32 /* ref: $Format:%D$ */
33 /* git commit: $Format:%H$ */
34 /* commit time: $Format:%ai$ */