atcab_write_pubkey: Uses the write command to write a public key to a slot in the proper format.
atcab_priv_write: Executes PrivWrite command, to write externally generated ECC private keys into the device.
uCryptoAuthLib Implementation for pubkey (priv_write is not implemented): https://github.com/dmazzella/ucryptoauthlib/blob/master/cryptoauthlib/basic.py#L852
Discussion about these commands: MicrochipTech/cryptoauthlib#44