Lines Matching refs:public_key_info
161 const uint8_t public_key_info[294] = { in TEST() local
210 public_key_info, sizeof(public_key_info)); in TEST()
221 public_key_info, sizeof(public_key_info)); in TEST()
236 public_key_info, sizeof(public_key_info)); in TEST()
249 public_key_info, sizeof(public_key_info)); in TEST()
260 uint8_t bad_public_key_info[sizeof(public_key_info)]; in TEST()
261 memcpy(bad_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
270 uint8_t long_public_key_info[sizeof(public_key_info) + 5]; in TEST()
272 memcpy(long_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
1019 std::vector<uint8_t>* public_key_info) { in EncodeRSAPublicKey() argument
1038 public_key_info->clear(); in EncodeRSAPublicKey()
1041 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1044 PrependASN1Length(public_key_info, public_exponent_e.size()); in EncodeRSAPublicKey()
1045 public_key_info->insert(public_key_info->begin(), kIntegerTag); in EncodeRSAPublicKey()
1048 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1052 public_key_info->insert(public_key_info->begin(), 0x00); in EncodeRSAPublicKey()
1055 PrependASN1Length(public_key_info, modulus_size); in EncodeRSAPublicKey()
1056 public_key_info->insert(public_key_info->begin(), kIntegerTag); in EncodeRSAPublicKey()
1059 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1060 public_key_info->insert(public_key_info->begin(), kSequenceTag); in EncodeRSAPublicKey()
1064 public_key_info->insert(public_key_info->begin(), 0x00); in EncodeRSAPublicKey()
1065 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1066 public_key_info->insert(public_key_info->begin(), kBitStringTag); in EncodeRSAPublicKey()
1074 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1078 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1079 public_key_info->insert(public_key_info->begin(), kSequenceTag); in EncodeRSAPublicKey()
1092 std::vector<uint8_t> public_key_info; in TEST() local
1094 &public_key_info)); in TEST()
1114 &public_key_info[0], in TEST()
1115 public_key_info.size()); in TEST()
1126 &public_key_info[0], in TEST()
1127 public_key_info.size()); in TEST()
1141 &public_key_info[0], in TEST()
1142 public_key_info.size()); in TEST()
1154 &public_key_info[0], in TEST()
1155 public_key_info.size()); in TEST()